<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="toTop" content="true">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" href="./Public/Home/css/wddd.css" />
<link rel="stylesheet" href="./Public/Home/css/grzl.css" />

<!--头部公共部分调用-->
{{include file="VIEW_PATH/Common/header.php"}}

<!--内容区域开始-->
<div id="box1">
	<!--左侧公共部分调用-->
{{include file="VIEW_PATH/Common/left.php"}}

	<div class="box-right">
		<div class="right-1">
			<div class="right-dd">
				<span style="color:#555555 ;">个人资料</span>
			</div>
		</div>
		<div class="xgmm">
			<div class="userset">
				<div class="user-form">
					<form action="" method="post">
						<div class="user-nickname">
							<div class="ut">
								<span>*</span>昵称： 
							</div>
							<input class="tt" type="text" name="nickname" value="{{$data['nickname']}}" />
						</div>
						<div class="user-nickname">
							<div class="ut">
								<span>*</span>性别：
							</div>
							<div class="u-r">
								<input type="radio" {{if value="$data['sex']=='男'"}} checked="checked" {{endif}} name="sex" value="男" />男&nbsp;&nbsp;&nbsp;
								<input type="radio" {{if value="$data['sex']=='女'"}} checked="checked" {{endif}} name="sex" value="女" />女&nbsp;&nbsp;&nbsp;
								<input type="radio" {{if value="$data['sex']=='保密'"}} checked="checked" {{endif}} name="sex" value="保密" />保密
							</div>
						</div>
						<div class="user-nickname">
							<div class="ut da">
								<span>*</span>生日：
							</div>
							<input type="date" value="{{$data['birthday']}}" name="birthday" >
							<!--<div class="u-r bird">
								<select class="year" name="birthday[]">
									<option value="">请选择</option>
									<option selected="selected" value="2000">2000</option>
									<option value="1999">1999</option>
									<option value="1998">1998</option>
									<option value="1997">1997</option>
									<option value="1996">1996</option>
									<option value="1995">1995</option>
									<option value="1994">1994</option>
									<option value="1993">1993</option>
									<select>
										<b>年</b>
										<select class="year" name="birthday[]">
											<option value="">请选择</option>
											<option selected="selected" value="1">1</option>
													<option value="2">2</option>
													<option value="3">3</option>
													<option value="4">4</option>
													<option value="5">5</option>
													<option value="6">6</option>
													<option value="7">7</option>
													<option value="8">8</option>
													<option value="9">9</option>
											<select>
												<b>月</b>
											<select class="year" name="birthday[]">	
											<option value="">请选择</option>
											<option selected="selected" value="1">1</option>
													<option value="2">2</option>
													<option value="3">3</option>
													<option value="4">4</option>
													<option value="5">5</option>
													<option value="6">6</option>
													<option value="7">7</option>
													<option value="8">8</option>
													<option value="9">9</option>
											<select>
														<b>日</b>
							</div>-->
						</div>
						<div class="user-nickname">
							<div class="ut">
								<span>*</span>兴趣爱好：
							</div>
							<div class="u-r love">
								<ul>
									<li class="more">图书/音像/数字商品<i></i></li>
									<li>家用电器<i></i></li>
									<li>手机/数码<i></i></li>
									<li>家居/家具/家装/厨具<i></i></li>
									<li>服饰内衣/珠宝首饰<i></i></li>
									<li>个护化妆<i></i></li>
									<li>鞋靴/箱包/钟表/奢侈品<i></i></li>
									<li>运动健康<i></i></li>
									<li>汽车用品<i></i></li>
								</ul>
							</div>
						</div>
						<input type="hidden" name="hobby" id="" value="{{$data['hobby']}}" />
						
						<script type="text/javascript">
							$(function(){
								$('.u-r li').click(function(){
									$(this).addClass('more').siblings().removeClass();
									var a=$(this).text();
//									给隐藏域添加选择数据
									$('input[name=hobby]').val(a);
								})
//								获得旧数据爱好
								var b="{{$data['hobby']}}";
//								alert(b);
//                              循环判断爱好是否相同，相同就选中谁
								$.each($('.u-r li'), function(){
									var c= $(this).text();
									if(c==b){
										$(this).addClass('more').siblings().removeClass('more');
									}
								});
								
							})
						</script>

						<div class="user-nickname">
							<div class="ut">
								<span>*</span>真实姓名：
							</div>
							<input class="tt" type="text" name="name" value="{{$data['name']}}" />
						</div>
						<div class="user-nickname">
							<div class="ut">
								<span>*</span>家庭住址：
							</div>
							<input class="tt" style="width:300px;" type="text" name="address" value="{{$data['address']}}" />
						</div>
						<div class="sub">
							<input type="hidden" name="hid" id="" value="{{$data['hid']}}" />
							<input type="submit" value="提交" />
						</div>
					</form>
				</div>
			</div>
        </div>
	</div>
</div>

<!--内容区域结束-->


<!--尾部区域开始-->
<div style="clear: both;"></div>
<!--调用尾部公用-->
{{include file="VIEW_PATH/Common/end.php"}}
</body>
</html>
